<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		<h4 class="modal-title" id="myModalLabel">订单详细信息</h4>
	</div>
	<div class="modal-body">
	<form class="layui-form" action="" >
				<div class="table-responsive">
					<table class="table table-striped"  border="0">
						<tbody>
							<tr>
								<td>
									<div class="layui-form-item">
										
							          <label class="layui-form-label">顾客姓名：</label>
							          <label class="layui-form-label"><s:property value="orders.theCustomer.realName"/></label>
							        </div>
								</td>
								<td>
									 <div class="layui-form-item">
								         <label class="layui-form-label">手机号码：</label>
										<label class="layui-form-label"><s:property value="orders.theCustomer.mobile"/></label>
												       
								      </div>
								</td>
							</tr>
							<tr>
								<td>
									<div class="layui-form-item">
							          <label class="layui-form-label">验证手机</label>
											          <label class="layui-form-label"><s:property value="orders.theCustomer.realName"/></label>
											         </div>
							        </div>
								</td>
								<td>
									<div class="layui-form-item">
							            <label class="layui-form-label">顾客类型：</label>
											          <label class="layui-form-label"><s:property value="orders.theCustomer.theCustomerType.typeName"/></label>
											       </div>
							        </div>
								</td>

							</tr>
						
							<tr>
								<td>
									<div class="layui-form-item">
							          <label class="layui-form-label">收货人：</label>
											          <label class="layui-form-label"><s:property value="orders.theConsignee.consigneeName"/></label>
											         </div>
							        </div>
								</td>
								<td>
									<div class="layui-form-item">
							            <label class="layui-form-label">收货地址：</label>
											          <label class="layui-form-label"><s:property value="orders.theConsignee.detailAddress"/></label>
											       </div>
							        </div>
								</td>

							</tr>
							<tr>
								<td>
									<div class="layui-form-item">
							          <label class="layui-form-label">收货人手机：</label>
											          <label class="layui-form-label"><s:property value="orders.theConsignee.mobilePhone"/></label>
											         </div>
							        </div>
								</td>
								<td>
									<div class="layui-form-item">
							            <label class="layui-form-label">邮政编码：</label>
											          <label class="layui-form-label"><s:property value="orders.theConsignee.zipCode"/></label>
											       </div>
							        </div>
								</td>

							</tr>
							<tr>
								<td>
									<div class="layui-form-item">
							          <label class="layui-form-label">支付方式：</label>
											          <label class="layui-form-label"><s:property value="orders.thePayment.thePaymentType.typeName"/></label>
											         </div>
							        </div>
								</td>
								<td>
									<div class="layui-form-item">
							            <label class="layui-form-label">支付状态：</label>
											          <label class="layui-form-label">
											          <s:if test="orders.thePayment.paymentState==0">
		                            							待支付
		                            					</s:if> <s:elseif test="orders.thePayment.paymentState==1">
		                            							已支付
		                            					</s:elseif>
											        </label>
											       </div>
							        </div>
								</td>

							</tr>
							<tr>
								<td>
									<div class="layui-form-item">
							          <label class="layui-form-label">订单总价：</label>
											          <label class="layui-form-label"><s:property value="orders.totalPrice"/></label>
											         </div>
							        </div>
								</td>
								<td>
									<div class="layui-form-item">
							            <label class="layui-form-label">订单状态：</label>
											          <label class="layui-form-label">
											          <s:if test="orders.orderState==0">
		                            							待处理
		                            					</s:if> <s:elseif test="orders.orderState==1">
		                            							完成
		                            					</s:elseif> <s:else>已取消</s:else>
											         </label>
											       </div>
							        </div>
								</td>

							</tr>
							<tr>
								<td>
									<div class="layui-form-item">
							          <label class="layui-form-label">订单创建时间：</label>
											          <label class="layui-form-label"><s:date name="orders.createTime" format="yyy-MM-dd" /></label>
											         </div>
							        </div>
								</td>
								<td>
									<div class="layui-form-item">
							            <label class="layui-form-label">邮政编码：</label>
											          <label class="layui-form-label"><s:property value="orders.theConsignee.zipCode"/></label>
											       </div>
							        </div>
								</td>

							</tr>
							
						</tbody>
				</table>
			</div>  	
					
			
    	
       
        
        
         <div class="layui-form-item">
         
        </div>
      </form>
	</div>
	<div class="modal-footer">
		<button type="button" class="btn btn-default" data-dismiss="modal" onclick="window.close();">取消</button>

	</div>


</body>
</html>